package xyz.riceball.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaovcloud
 * @since 2021/6/29 20:23
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface Service {
    /**
     * bean的名字，默认为空
     *
     * @return
     */
    String value() default "";
}
